jQuery(document).ready(function($) {
$("#home_button").click(function(){
        $.post('../content/home.php', function(data) {
          $('#container').html(data);
        });
    });    
$("#about_us_button").click(function(){
        $.post('../content/about_us.php', function(data) {
          $('#container').html(data);
        });
    });    
$("#news_button").click(function(){
        $.post('../content/news.php', function(data) {
          $('#container').html(data);
        });
    });   
$("#publications_button").click(function(){
        $.post('../content/publications.php', function(data) {
          $('#container').html(data);
        });
    });   
$("#contacts_button").click(function(){
        $.post('../content/contacts.php', function(data) {
          $('#container').html(data);
        });
    });   
$("#teaching_button").click(function(){
        $.post('../content/teaching.php', function(data) {
          $('#container').html(data);
        });
    });   
$("#research_button").click(function(){
        $.post('../content/research.php', function(data) {
          $('#container').html(data);
        });
    });   
$("#students_button").click(function(){
        $.post('../content/students.php', function(data) {
          $('#container').html(data);
        });
    });   

$('#home_button').click(function() {
$("#teaching,#research,#students").animate({height:"230px"});
$("#teaching_button_wrapper,#research_button_wrapper,#students_button_wrapper").hide();
 });    
$("#about_us_button,#news_button,#publications_button,#contacts_button").click(function() {
$("#teaching,#research,#students").animate({height:"0px"});
$("#teaching_button_wrapper,#research_button_wrapper,#students_button_wrapper").show();
 });    



});